package com.esisa.business;

import java.util.List;

import com.esisa.models.Betail;
import com.esisa.models.Fermier;

public interface FermierManager {
	public boolean create(Fermier fermier);
	public boolean createBetail(Betail betail);
	public List<Fermier> findAll();
	public Fermier find(Long id);
	public void delete(Fermier fermier);
	public void update(Fermier fermier);
	public List<Betail> selectAllBetails();
	public List<Betail> selectAllBetails(int page, int pas);
	public int getCountBetails();
	public Betail findBetail(Long id);
	
}
